package com.mybed.crm.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ContractVo {

    @ApiModelProperty(value = "合同id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "合同编号")
    private String contractNo;
    @ApiModelProperty(value = "客户姓名")
    private String name;
    @ApiModelProperty(value = "意向学科")
    private String subject;
    @ApiModelProperty(value = "活动id")
    private Long activityId;
    @ApiModelProperty(value = "活动名称")
    private String activityName;
    @ApiModelProperty(value = "课程id")
    private Long courseId;
    @ApiModelProperty(value = "课程名称")
    private String courseName;
    @ApiModelProperty(value = "渠道")
    private String channel;
    @ApiModelProperty(value = "状态(待审核1，已通过2，已驳回3 全部完成4)")
    private String status;
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty(value = "关联部门id")
    private Long deptId;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "文件名称")
    private String fileName;
    @ApiModelProperty(value = "订单价格")
    private Float contractOrder;
    @ApiModelProperty(value = "折扣类型")
    private String discountType;
    @ApiModelProperty(value = "课程价格")
    private Float coursePrice;
    @ApiModelProperty(value = "关联商机id")
    private Long businessId;
}
